package com.hubu.service;

import com.hubu.domain.User;

/**
 * @description:
 * @author: hubu
 * @time: 2023/4/12 19:49
 */
public interface UserService {
    User getUser(String token);

    User getUserByName(String username);

    void saveToken(Integer id,String token);
    //User getUserById(String username);

    Integer register(User user);

    Integer checkUsername(String username);
}
